package cn.fl.continfo.service;

import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.continfo.vo.PrjContCfgVO;
import cn.fl.preloan.condition.PrjContCfgQueryCondition;

public interface IPrjContCfgService {


    /**
     * 获取唯一对象
     * @param id 主键
     * @return 对象DTO
     */
    public PrjContCfgVO selectById(Long id)throws BaseException;

    /**
     * 新增
     * @param entity
     * @return
     */
    public Long add(PrjContCfgVO entity) throws BaseException;

    /**
     * 删除
     * @param id
     * @return
     */
    public boolean removeById(Long id)throws BaseException;


    /**
     * 修改
     * @param entity
     * @return
     */
    public boolean modify(PrjContCfgVO entity)throws BaseException;

    /**
     * 分页查询所有
     * @param pageSize,pageNum,PrjContCfgQueryCondition
     * @return
     */
    public Pager searchListPage(int pageSize, int pageNum, PrjContCfgQueryCondition condition)throws BaseException;

}
